/*
 * gdb-frontend is a easy, flexible and extensionable gui debugger
 *
 * https://github.com/rohanrhu/gdb-frontend
 * https://oguzhaneroglu.com/projects/gdb-frontend/
 *
 * Licensed under GNU/GPLv3
 * Copyright (C) 2019, Oğuzhan Eroğlu (https://oguzhaneroglu.com/) <rohanrhu2@gmail.com>
*/

.FileTabs {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}

.FileTabs_tabs {
    display: flex;
    flex: 0 0 40px;
    background: rgba(0, 0, 0, 0.2);
    user-select: none;
    position: relative;
    z-index: 2100;
}

.FileTabs_tabs_items {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 100px;
}

.FileTabs_tabs_items_item {
    display: flex;
    flex: 0;
    min-height: 20px;
    border: 1px solid rgba(163, 163, 163, 0.05);
    border-bottom: 0px;
    border-top: 0px;
    cursor: pointer;
    position: relative;
}

.FileTabs_tabs_items_item:hover {
    background: rgba(255,255,255,0.05);
}

.FileTabs_tabs_items_item_fileName {
    display: flex;
    flex: 0;
    align-items: center;
    padding-left: 10px;
    padding-right: 5px;
    font-size: 16px;
}

.FileTabs_tabs_items_item_closeBtn {
    display: flex;
    flex: 0;
    align-items: center;
    padding-left: 5px;
    padding-right: 10px;
    font-size: 16px;
    color: rgba(255,255,255,0.5);
}

.FileTabs_tabs_items_item_closeBtn:hover {
    color: #003f91;
}

.FileTabs_tabs_items_item.FileTabs_tabs_items_item__current {
    background: rgba(255, 255, 255, 0.1);
}

.FileTabs_tabs_items_item.FileTabs_tabs_items_item__current .FileTabs_tabs_items_closeBtn {
    color: rgba(0,0,0,0.8);
}

.FileTabs_tabs_items_item.FileTabs_tabs_items_item__current .FileTabs_tabs_items_closeBtn:hover {
    color: #003f91;
}

.FileTabs_tabs_items_item_pathTooltip {
    position: absolute;
    z-index: 3000;
    top: 105px;
    left: 0px;
    user-select: text;
}

.FileTabs_tabs_items_item_pathTooltip_box {
    background: #003f91;
    color: white;
    font-size: 16px;
    display: inline-block;
    box-shadow: 0px 0px 20px 0px rgba(0, 25, 0, 0.5);
}

.FileTabs_tabs_items_item_pathTooltip_box_arrow {
    position: absolute;
    left: 0px;
    top: -20px;
    width: 100%;
    height: 0px;
}

.FileTabs_tabs_items_item_pathTooltip_box_arrow:after {
    position: absolute;
    left: 50%;
    margin-left: -5px;
    content: ' ';
    border: 10px solid transparent;
    border-bottom: 10px solid #003f91;
    width: 0px;
    height: 0px;
}

.FileTabs_tabs_items_item_pathTooltip_path {
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
}

.FileTabs_tabs_items_item_pathTooltip_copyBtn {
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    cursor: pointer;
    border-left: 1px solid rgba(0,0,0,0.15);
    user-select: none;
}

.FileTabs_tabs_items_item_pathTooltip_copyBtn:hover {
    transition: background 250ms;
    background: rgba(0,0,0,0.1);
}

/* ---------------------- */

.FileTabs_editors {
    display: flex;
    flex: 1 1 auto;
    position: relative;
    z-index: 2000;
}

.FileTabs_editors_content {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
}

.FileTabs_editors_noItem {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
    font-size: 20px;
    color: rgba(255,255,255,0.4);
    user-select: none;
    width: 100%;
}

.FileTabs_editors_items {
    height: 100%;
    width: 100%;
    display: none;
}

.FileTabs_editors_items_item {
    position: relative;
    display: none;
    height: 100%;
}

.FileTabs_editors_items_item_variablePopup {
    display: none;
    position: absolute;
    z-index: 2000;
    min-width: 300px;
    max-width: 400px;
    max-height: 250px;
    overflow-y: auto;
    line-height: 20px;
    padding: 5px;
    background: rgb(0, 20, 46);
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
}

.FileTabs_editors_items_item_variablePopup:focus {
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.FileTabs_editors_items_item_ace {
    height: 100%;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell {
    cursor: pointer;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.ace_breakpoint {
}

.FileTabs_editors_items_item_ace .ace_gutter-cell:hover::after {
    content: ' ';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 4px;
    top: 2px;
    background: #ff4c4c;
    border-radius: 100%;
    opacity: 0.5;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.ace_breakpoint::after {
    content: ' ';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 4px;
    top: 2px;
    background: #ff4c4c;
    border-radius: 100%;
    opacity: 1;
}

.FileTabs_editors_items_item_ace .ace_gutter-cell.FileTabs__stopped {
    background: rgb(255, 255, 255);
    color: black;
}

/*.FileTabs_editors_items_item_ace .ace_gutter-cell.FileTabs__stopped::before {
    content: ' ';
    position: absolute;
    width: 0px;
    height: 0px;
    border: 7px solid transparent;
    border-left: 7px solid white;
    right: -14px;
    top: 0px;
}

/* ---------------------- */

/*.ace_gutter {
    overflow: visible;
}

.ace_gutter-layer {
    overflow: visible;
}*/

/* ---------------------- */